package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.Role;

import java.util.List;
import java.util.Map;

/**
 * @Author: 翟文海
 * @Date: 2022/10/25/025 11:03
 * @Version: 1.0
 * @Description:
 **/
public interface RoleMapper extends BaseMapper<Role> {

    Role getByRoleName(String name);

    List<Role> findByAdminId();

}
